package com.TestDemo.Test2;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zjz
 * @Date: 2022/01/27/13:58
 * @Description:
 * @Target:
 */
public class ForOutTest {
    public static void main(String[] args) {

        String ss = "12345";
        for (int i = 0; i < ss.length()-3; i++) {
            System.out.println(ss.charAt(i));
        }
    }
}
